package kr.hkit.info.powerjava.six;

class Data
{
	static final int DATA_KIND = 4;
	private String name;
	private String address;
	private String phone;
	private String mailAddress;

	String getName()
	{
		return name;
	}
	void setName(String name)
	{
		this.name=name;
	}

	String getAddress()
	{
		return address;
	}
	void setAddress(String address)
	{
		this.address = address;
	}

	String getphone()
	{
		return phone;
	}
	void setPhone(String phone)
	{
		this.phone = phone;
	}

	String getMailAddress()
	{
		return mailAddress;
	}
	void setMailAddress(String mailAddress)
	{
		this.mailAddress = mailAddress;
	}
	
	String getInfo()
	{
		return "/"+name+":"+address+":"+phone+":"+mailAddress;
	}
} 
